<!DOCTYPE html>
<html>
<head>

    <title>GDepot Login</title>
    %{--<script rel="stylesheet" type="text/css" href="${createLinkTo(dir:'js',file:'jquery-2.1.3.min.js')}"></script>
    <link rel="stylesheet" type="text/css" href="${createLinkTo(dir:'css',file:'qa.css')}">
    <link rel="stylesheet" type="text/css" href="${createLinkTo(dir:'css',file:'user.css')}">--}%
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">s
    <meta name="description" content="">
    <meta name="author" content="templatemo">

    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,400italic,700' rel='stylesheet'
          type='text/css'>
    <link rel="stylesheet" type="text/css" href="${createLinkTo(dir: 'css', file: 'bootstrap.min.css')}">

    <link rel="stylesheet" type="text/css" href="${createLinkTo(dir: 'css', file: 'templatemo-style.css')}">
    <link rel="stylesheet" type="text/css" href="${createLinkTo(dir: 'font-awesome/css', file: 'font-awesome.min.css')}">
    <link rel="stylesheet"  type="text/css" href="${createLinkTo(dir: 'css', file: 'agency.css')}">
    <script src="${createLinkTo(dir: 'js', file: 'jquery-2.0.0.min.js')}"></script>
    <script src="${createLinkTo(dir: 'js', file: 'jquery.js')}"></script>



</head>


<body>

<nav class="navbar navbar-default  navbar-shrink">
<div class="container">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header page-scroll">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand page-scroll" href="#page-top"> GDepot </a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav navbar-right">
            <li class="hidden">
                <a href="#page-top"></a>
            </li>
            <li><a href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
            <li>
                <g:link  class="page-scroll" controller="user" action="register" >Sign In</g:link>
            </li>
        </ul>
    </div>
    <!-- /.navbar-collapse -->
</div>
<!-- /.container-fluid -->
</nav>
<g:if test="${flash.message}">
    <div class="alert alert-warning">
        <a href="#" class="close" data-dismiss="alert">
        &times;
        </a>
        <strong>${flash.message}</strong>
    </div>
</g:if>

<div class="templatemo-content-widget templatemo-login-widget white-bg" style="background-image: url('../img/header-bg.jpg')">
    %{--<g:form url='${postUrl}' method='POST' autocomplete='off'>--}%
    <header class="text-center" style="background: transparent">
        <div class="square"></div>
        <h1>User  Login</h1>
    </header>
    <g:form url='${postUrl}' method='POST' autocomplete='off' class="templatemo-login-form">
        <div class="form-group">
            <div class="input-group">
                <div class="input-group-addon"><i class="fa fa-user fa-fw"></i></div>
                <input type="text" name="j_username" id="j_username" class="form-control" placeholder="请输入用户名"/>
            </div>
        </div>

        <div class="form-group">
            <div class="input-group">
                <div class="input-group-addon"><i class="fa fa-key fa-fw"></i></div>
                <input type="password" name="j_password" id="j_password" class="form-control"
                       placeholder="请输入由数字和字母组成的6-16位密码"/>
            </div>
        </div>

        <div class="form-group">
            <div class="checkbox"  align="center" style="padding-bottom:40px;padding-top:20px">
                <input type="checkbox" id="c1" name='${rememberMeParameter}' id='remember_me'
                       <g:if test='${hasCookie}'>checked='checked'</g:if>/>
                <label for="c1" style="color:white;;"><span></span>Remember me</label>
            </div>
        </div>

        <div class="form-group">
            <button type="submit" class="templatemo-blue-button width-100">Login</button>
        </div>
    </g:form>
</div>

<div class="templatemo-content-widget templatemo-login-widget templatemo-register-widget white-bg">
    <p style="color: white;">Not a registered user yet? <strong><g:link class="blue-text" controller="user"
                                                  action="register">Sign up mow!</g:link></strong></p>
</div>
</body>
</html>